<%@ page language="java" contentType="text/html; charset=utf-8"  pageEncoding="utf-8"%>
<%--<%--%>
    <%--String  realPath1  =  request.getServerName()  +  ":"  +  request.getServerPort()  +  request.getContextPath()+request.getServletPath().substring(0,request.getServletPath().lastIndexOf("/")+1);--%>
    <%--String path = request.getContextPath();--%>
    <%--String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";--%>
<%--%>--%>

<ul class='nav nav-stacked'>
    <li class='active'>
        <a href='index'>
            <i class='icon-home'></i>
            <span>首页</span>
        </a>
    </li>
    <li class=''>
        <a class='dropdown-collapse  in' href=''>
            <i class='icon-user'></i>
            <span>用户管理</span>
            <i class='icon-angle-down angle-down'></i>
        </a>
        <ul class='nav nav-stacked'>
            <li class=''>
                <a href='/admin/listuser'>
                    <i class='icon-list'></i>
                    <span>用户列表</span>
                </a>
            </li>
            <li class=''>
                <a href='/admin/register'>
                    <i class='icon-plus'></i>
                    <span>添加用户</span>
                </a>
            </li>
        </ul>
    </li>
    <li>
        <a class='dropdown-collapse  in'>
            <i class='icon-list'></i>
            <span>类别管理</span>
            <i class='icon-angle-down angle-down'></i>
        </a>
        <ul class='nav nav-stacked'>
            <li class=''>
                <a href='/admin/listcategory'>
                    <i class='icon-list'></i>
                    <span>分类列表</span>
                </a>
            </li>
            <li class=''>
                <a href='/admin/addcategory'>
                    <i class='icon-plus'></i>
                    <span>添加分类</span>
                </a>
            </li>
        </ul>
    </li>
    <li class=''>
        <a href='/admin/listcontent'>
            <i class='icon-file'></i>
            <span>博文管理</span>
        </a>
    </li>
    <li>
        <a class='' href='admin/liststar'>
            <i class='icon-star'></i>
            <span>收藏管理</span>
        </a>
    </li>
    <li class=''>
        <a href='/admin/listlabel'>
            <i class='icon-tags'></i>
            <span>标签管理</span>
        </a>
    </li>
</ul>